<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景图片</title>
    <style>
        div{
            width: 300px;
            height: 300px;
            background-image: url(./imgs/img_1.png);
            background-repeat: no-repeat;
            background-color: #111111;
            background-position: center center;
        }
    </style>
</head>
<body>
<div>
    
</div>
</body>
</html>